package com.cmw.socket.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 服务器信息Bean
 * @author chengmingwei
 * @date 2020-06-27 10:11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ServerInfo {

    private String sn;

    private int port;

    private String address;

    @Override
    public String toString() {
        return "ServerInfo{" +
                "sn='" + sn + '\'' +
                ", port=" + port +
                ", address='" + address + '\'' +
                '}';
    }
}
